/*
 * XML Type:  XCheckBoxList
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XCheckBoxList
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget;


/**
 * An XML XCheckBoxList(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public interface XCheckBoxList extends com.seedwill.xul.widget.XInput
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XCheckBoxList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xcheckboxlistaa8btype");
    
    /**
     * Gets array of all "checkbox" elements
     */
    com.seedwill.xul.widget.XCheckBox[] getCheckboxArray();
    
    /**
     * Gets ith "checkbox" element
     */
    com.seedwill.xul.widget.XCheckBox getCheckboxArray(int i);
    
    /**
     * Returns number of "checkbox" element
     */
    int sizeOfCheckboxArray();
    
    /**
     * Sets array of all "checkbox" element
     */
    void setCheckboxArray(com.seedwill.xul.widget.XCheckBox[] checkboxArray);
    
    /**
     * Sets ith "checkbox" element
     */
    void setCheckboxArray(int i, com.seedwill.xul.widget.XCheckBox checkbox);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "checkbox" element
     */
    com.seedwill.xul.widget.XCheckBox insertNewCheckbox(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "checkbox" element
     */
    com.seedwill.xul.widget.XCheckBox addNewCheckbox();
    
    /**
     * Removes the ith "checkbox" element
     */
    void removeCheckbox(int i);
    
    /**
     * Gets array of all "checkedIndex" elements
     */
    int[] getCheckedIndexArray();
    
    /**
     * Gets ith "checkedIndex" element
     */
    int getCheckedIndexArray(int i);
    
    /**
     * Gets (as xml) array of all "checkedIndex" elements
     */
    org.apache.xmlbeans.XmlInt[] xgetCheckedIndexArray();
    
    /**
     * Gets (as xml) ith "checkedIndex" element
     */
    org.apache.xmlbeans.XmlInt xgetCheckedIndexArray(int i);
    
    /**
     * Returns number of "checkedIndex" element
     */
    int sizeOfCheckedIndexArray();
    
    /**
     * Sets array of all "checkedIndex" element
     */
    void setCheckedIndexArray(int[] checkedIndexArray);
    
    /**
     * Sets ith "checkedIndex" element
     */
    void setCheckedIndexArray(int i, int checkedIndex);
    
    /**
     * Sets (as xml) array of all "checkedIndex" element
     */
    void xsetCheckedIndexArray(org.apache.xmlbeans.XmlInt[] checkedIndexArray);
    
    /**
     * Sets (as xml) ith "checkedIndex" element
     */
    void xsetCheckedIndexArray(int i, org.apache.xmlbeans.XmlInt checkedIndex);
    
    /**
     * Inserts the value as the ith "checkedIndex" element
     */
    void insertCheckedIndex(int i, int checkedIndex);
    
    /**
     * Appends the value as the last "checkedIndex" element
     */
    void addCheckedIndex(int checkedIndex);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "checkedIndex" element
     */
    org.apache.xmlbeans.XmlInt insertNewCheckedIndex(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "checkedIndex" element
     */
    org.apache.xmlbeans.XmlInt addNewCheckedIndex();
    
    /**
     * Removes the ith "checkedIndex" element
     */
    void removeCheckedIndex(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.widget.XCheckBoxList newInstance() {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.widget.XCheckBoxList parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XCheckBoxList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XCheckBoxList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XCheckBoxList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
